From: Mathieu Malaterre Date: Mon, 8 Jul 2024 11:26:25 +0000 (+0200) Subject: d/t/run-unit-test: Fix unit-test for new release. Closes: #1075917 X-Git-Tag: archive/raspbian/3.6.9-4+rpi1^2~23^2~7 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=df880c7da1ec0b8f52e3e5e89236e55a0654c099;p=dcmtk.git d/t/run-unit-test: Fix unit-test for new release. Closes: #1075917 --- diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test index 5ed6c1f7..97dcb126 100644 --- a/debian/tests/run-unit-test +++ b/debian/tests/run-unit-test @@ -13,14 +13,14 @@ if [ "${AUTOPKGTEST_TMP}" = "" ] ; then fi cp -a /usr/lib/python3/dist-packages/pydicom/data/test_files/CT_small.dcm "${AUTOPKGTEST_TMP}" -cp -a /usr/share/libdcmtk17/dicom.dic "${AUTOPKGTEST_TMP}" +cp -a /usr/share/dcmtk/dicom.dic "${AUTOPKGTEST_TMP}" export DCMDICTPATH=${AUTOPKGTEST_TMP}/dicom.dic cd "${AUTOPKGTEST_TMP}" -echo "15e7e2a11cdeabac32e1134674beda6b CT_small.dcm" >> checksums +echo "896048a80ff192ca8b6d9a1ba29d64fd CT_small.dcm" >> checksums echo "Running Tests" @@ -58,7 +58,10 @@ dcmftest CT_small.dcm echo "Test 9" -dcmodify -e "(0008,0031)" CT_small.dcm +# only write the dataset so that the file meta information +# does not change and we can keep the same md5sum + +dcmodify --write-dataset -e "(0008,0031)" CT_small.dcm echo "Test 10"